
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #fff5f7;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.music-container {
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b9e;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255, 107, 158, 0.2);
}

.music-card {
    width: 100%;
    height: 220px;
    background: linear-gradient(to right, #fff 0%, #fff9fb 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 158, 0.15);
    display: flex;
    overflow: hidden;
    position: relative;
    color: #333;
    border: 1px solid #ffd6e4;
}

.album-cover {
    width: 220px;
    height: 220px;
    background-color: #ffebf1;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 158, 0.1), rgba(255, 107, 158, 0.05));
}

.music-info {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.music-id {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    color: #ff6b9e;
    background-color: rgba(255, 107, 158, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

.music-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff4d8a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 280px;          /* 固定宽度 */
    display: inline-block; /* 确保宽度生效 */
}

.music-alias {
    font-size: 14px;
    color: #ff8fb3;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 280px;          /* 固定宽度 */
    display: inline-block; /* 确保宽度生效 */
}

.artist-name {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ff6b9e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 280px;          /* 固定宽度 */
    display: inline-block; /* 确保宽度生效 */
}

.album-name {
    font-size: 15px;
    color: #999;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 280px;          /* 固定宽度 */
    display: inline-block; /* 确保宽度生效 */
}

.duration {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.stats {
    display: flex;
    margin-top: auto;
    font-size: 13px;
    color: #ff8fb3;
}

.stats span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.stats i {
    margin-right: 5px;
    font-size: 14px;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 107, 158, 0.1);
}

.progress {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #ff8fb3, #ff6b9e);
    border-radius: 0 3px 3px 0;
}

.decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 158, 0.08) 0%, rgba(255, 107, 158, 0) 70%);
    z-index: -1;
}

.decoration-1 {
    top: -30px;
    left: -30px;
}

.decoration-2 {
    bottom: -20px;
    right: -20px;
}